﻿<Window x:Class="frmMailbox"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Mailbox" Height="720" Width="1030" Background="Gray" xmlns:my="clr-namespace:CRM.CONTROLLIBRARY;assembly=CRM.CONTROLLIBRARY" WindowStartupLocation="CenterScreen">
    <Grid>
        <ListView Margin="3,115,472,12" Name="grdInbox" ToolTip="Please double click on email item to display on preview pane">
            <ListView.ContextMenu>
                <ContextMenu Name="DeleteMail" >Delete</ContextMenu>
            </ListView.ContextMenu>
            <ListView.View >
                <GridView Selector.IsSelected="true">
                    <GridView.Columns>
                        <GridViewColumn Header="Subject" DisplayMemberBinding="{Binding Path=Subject}" ></GridViewColumn>
                        <GridViewColumn Header="Sender" DisplayMemberBinding="{Binding Path=Sender}"></GridViewColumn>
                        <GridViewColumn Header="Received" DisplayMemberBinding="{Binding Path=Received}"></GridViewColumn>
                        <GridViewColumn Header="Attachments" DisplayMemberBinding="{Binding Path=Attachments}"></GridViewColumn>
                    </GridView.Columns>
                </GridView>
            </ListView.View>


        </ListView>
        <TextBox  Margin="0,115,6,243" Name="txtMessage" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"   BorderBrush="Black" HorizontalAlignment="Right" Width="460" />

        <my:MyFoldersExpandersControl Height="106" HorizontalAlignment="Left" Margin="4,0,0,0" Name="MailFolders" VerticalAlignment="Top" Width="165" />
        <Button Height="20" HorizontalAlignment="Left" Margin="253,88,0,0" Name="btnPrev" VerticalAlignment="Top" Width="35">&lt;</Button>
        <Button Height="20" HorizontalAlignment="Left" Margin="407,88,0,0" Name="btnNext" VerticalAlignment="Top" Width="35" HorizontalContentAlignment="Center">&gt;</Button>
        <Label Height="23" HorizontalAlignment="Left" Margin="336,87,0,0" Name="Label2" VerticalAlignment="Top" Width="22">To</Label>
        <TextBox Height="19" HorizontalAlignment="Left" Margin="296,89,0,0" Name="txtFrom" VerticalAlignment="Top" Width="36" Background="Gray">1</TextBox>
        <TextBox Height="19" HorizontalAlignment="Left" Margin="364,88,0,0" Name="txtTo" VerticalAlignment="Top" Width="36" Background="Gray">50</TextBox>
        <Button Height="20" Margin="448,88,0,0" Name="btnLast" VerticalAlignment="Top" HorizontalAlignment="Left" Width="35">&gt;&gt;</Button>
        <Button Height="20" HorizontalAlignment="Left" Margin="212,88,0,0" Name="btnFirst" VerticalAlignment="Top" Width="35">&lt;&lt;</Button>
        <Button Height="20" HorizontalAlignment="Right" Margin="0,12,12,0" Name="btnClose" VerticalAlignment="Top" Width="71">Close</Button>
        <Button Height="20" HorizontalAlignment="Right" Margin="0,0,289,217" Name="btnAddEvent" VerticalAlignment="Bottom" Width="177">Add this Email as an Event</Button>
        <Button Height="20" HorizontalAlignment="Right" Margin="0,0,6,217" Name="btnReply" VerticalAlignment="Bottom" Width="177">Reply To Selected Email</Button>
        <CheckBox Height="16" HorizontalAlignment="Right" Margin="0,0,295,195" Name="chkLoadAttachments" VerticalAlignment="Bottom" Width="171">Load Attachments to DocStore</CheckBox>
        <CheckBox Height="16" IsChecked="True"  HorizontalAlignment="Right" Margin="0,0,64,195" Name="chkQuoteMessage" VerticalAlignment="Bottom" Width="120">Quote Message</CheckBox>
        <CheckBox Height="16" HorizontalAlignment="Right" Margin="0,0,346,173" Name="chkKeepOpen" VerticalAlignment="Bottom" Width="120">Leave Inbox Open</CheckBox>
        <Label Height="23" HorizontalAlignment="Right" Margin="0,0,370,144" Name="Label1" VerticalAlignment="Bottom" Width="96">Note for Event</Label>
        <TextBox Height="134" HorizontalAlignment="Right" Margin="0,0,6,12" Name="txtEventNote" VerticalAlignment="Bottom" Width="460" BorderBrush="Black" />
    </Grid>
</Window>
